//
//  NSString+Extension.h
//  CSJQQMusic
//
//  Created by ya on 12/19/16.
//  Copyright © 2016 ya. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (Extension)

+ (NSString *)sj_contenOfFile:(NSString *)path;

- (NSURL *)sj_url;

- (NSString *)sj_substringWithinBoundsLeft:(NSString *)strLeft right:(NSString *)strRight;

- (NSString *)sj_beforeString:(NSString *)flag;

- (NSString *)sj_afterString:(NSString *)flag;

- (NSString *(^)(NSString *))link;

- (NSString *(^)(NSString *))suffix;


- (NSString *)S_MessyString;
- (BOOL)S_isPureIntWithString;


+ (NSString *)base64EncodeString:(NSString *)string;
+ (NSString *)base64DecodeString:(NSString *)string;




@end

NS_ASSUME_NONNULL_END
